package com.imu.purse.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 登录表单
 *
 * @author zzy
 *  sunhongwei@gmail.com
 * @since 3.1.0 2018-03-21
 */
@Data
@ApiModel(value = "登录表单")
public class LoginForms 
{
	@ApiModelProperty(value = "id")
    private Long id;
	
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String pwd;
    
    @ApiModelProperty(value = "图片验证码")
    @NotBlank(message="图片验证码不能为空")
    private String code;

    @ApiModelProperty(value = "手机验证码类型")
    private String type;
    
    @ApiModelProperty(value = "身份验证码")
    //@NotBlank(message="身份验证码不能为空")  2018-06-04 10:00:00
    private String googleQrCode;

	@ApiModelProperty(value = "手机验证码")
    private String phoneCode;

}
